package com.jiutong.meipengdai.http.model.services;

import com.jiutong.meipengdai.common.Constants;
import com.jiutong.meipengdai.entity.EvaluateListRespond;
import com.jiutong.meipengdai.entity.HouseListRespond;
import com.jiutong.meipengdai.entity.LocationRespon;

import java.util.Map;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by suxi on 2017/5/31.
 */

public interface HousessInfoService {


    /**
     * 房产信息
     * @param fields
     * @return
     */
    @FormUrlEncoded
    @POST(Constants.URLEND)
    Observable<HouseListRespond> getHousess(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.URLEND)
    Observable<EvaluateListRespond> getEvaluateList(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.URLEND)
    Observable<LocationRespon> getHousePingguPre(@FieldMap Map<String, Object> fields);
}
